package com.bwie.service.impl;

import com.bwie.common.domain.User;
import com.bwie.mapper.UserMapper;
import com.bwie.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: UserServiceImpl
 * @Description: TODO
 * @version: v1.８.0
 * @author: 李明
 * @date: 2025/11/10 9:58
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    /**
     * 通过账号获取用户信息
     * @param account
     */
    @Override
    public User getUserInfo(String account) {
        User user = userMapper.getUserInfo(account);
        return user;
    }


}
